
<style>
    .profile-avatar-container {
        position:relative;
        width:100px;
    }
    .profile-avatar-container .profile-user-img{
        width:100px;
        height:100px;
    }
    .profile-avatar-container .profile-avatar-text {
        display:none;
    }
    .profile-avatar-container:hover .profile-avatar-text {
        display:block;
        position:absolute;
        height:100px;
        width:100px;
        background:#444;
        opacity: .6;
        color: #fff;
        top:0;
        left:0;
        line-height: 100px;
        text-align: center;
    }
    .profile-avatar-container button{
        position:absolute;
        top:0;left:0;width:100px;height:100px;opacity: 0;
    }
</style>
<div id="content-container" class="container">
    <div class="row">

        <div class="col-md-10" style="float: none;
    display: block;margin-left: auto;
    margin-right: auto;">
            <div class="panel panel-default">
                <div class="panel-body">
                    <h2 class="page-header" style="color:#ffb90e">{:__('registered successfully please complete your project information')}</h2>
                    <form id="profile-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('completeinfo/index')}">
                        {:token()}
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">{:__('Nickname')}:</label>
                            <div class="col-xs-12 col-sm-7">
                                <input type="text" class="form-control" id="nickname" name="nickname" value="{$user.nickname}" data-rule="required" placeholder="{:__('用户名')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">{:__('Project name')}:</label>
                            <div class="col-xs-12 col-sm-7">
                                <input type="text" class="form-control" id="project_name" name="project_name" value="{$row.project_name}" data-rule="required" placeholder="{:__('Your project name or your team, company name')}">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">{:__('Name of tokens')}:</label>
                            <div class="col-xs-12 col-sm-7">
                                <input type="text" class="form-control" id="name_token" name="name_token" value="{$row.name_token}" data-rule="required" placeholder="{:__('Such as BTC')}">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">{:__('Robot ID')}:</label>
                            <div class="col-xs-12 col-sm-7">
                                <input type="text" class="form-control" id="robot" name="robot" value="{$row.robot}" data-rule="required" placeholder="{:__('The Robot ID you want')}">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">{:__('Telegram')}:</label>
                            <div class="col-xs-12 col-sm-7">
                                <input type="text" class="form-control" id="telegram" name="telegram" value="{$row.telegram}" data-rule="" placeholder="{:__('For costume service contacts you immediately')}">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">{:__('Wechat')}:</label>
                            <div class="col-xs-12 col-sm-7">
                                <input type="text" class="form-control" id="wechat" name="wechat" value="{$row.wechat}" data-rule="" placeholder="{:__('For costume service contacts you immediately')}">
                            </div>
                        </div>



                        <!-- <input type="hidden" name="avatar" id="c-avatar" value="{$user.avatar}" /> -->
                        <!-- <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2"></label>
                            <div class="col-xs-12 col-sm-4">
                                <div class="profile-avatar-container">
                                    <img class="profile-user-img img-responsive img-circle plupload" src="{$user.avatar}" alt="">
                                    <div class="profile-avatar-text img-circle">{:__('Click to edit')}</div>
                                    <button id="plupload-avatar" class="plupload" data-mimetype="png,jpg,jpeg,gif" data-input-id="c-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button>
                                </div>
                            </div>
                        </div> -->
                        <!-- <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
                            <div class="col-xs-12 col-sm-4">
                                <input type="text" class="form-control" id="username" name="username" value="{$user.username}" data-rule="required;username;remote({:url('api/validate/check_username_available')}, id={$user.id})" placeholder="">
                            </div>
                        </div> -->
                        <!-- <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
                            <div class="col-xs-12 col-sm-4">
                                <input type="text" class="form-control" id="nickname" name="nickname" value="{$user.nickname}" data-rule="required" placeholder="">
                            </div>
                        </div> -->
                        <!-- <div class="form-group">
                            <label for="c-bio" class="control-label col-xs-12 col-sm-2">{:__('Intro')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-bio" data-rule="" data-tip="一句话介绍一下你自己" class="form-control" name="bio" type="text" value="{$user.bio}">
                            </div>
                        </div> -->
                        <!-- <div class="form-group">
                            <label for="c-email" class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
                            <div class="col-xs-12 col-sm-4">
                                <div class="input-group">
                                    <input type="text" class="form-control" id="c-email" name="email" value="{$user.email}" disabled placeholder="">
                                    <span class="input-group-btn" style="padding:0;border:none;">
                                        <a href="javascript:;" class="btn btn-info btn-change" data-type="email">{:__('Change')}</a>
                                    </span>
                                </div>

                            </div>
                        </div>
                        <div class="form-group">
                            <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
                            <div class="col-xs-12 col-sm-4">
                                <div class="input-group">
                                    <input type="text" class="form-control" id="c-mobile" name="mobile" value="{$user.mobile}" disabled placeholder="">
                                    <span class="input-group-btn" style="padding:0;border:none;">
                                        <a href="javascript:;" class="btn btn-info btn-change" data-type="mobile">{:__('Change')}</a>
                                    </span>
                                </div>

                            </div>
                        </div> -->
                        <div class="form-group normal-footer">
                            <label class="control-label col-xs-12 col-sm-2"></label>
                            <div class="col-xs-12 col-sm-8">
                                <button type="submit" class="btn btn-success btn-embossed">{:__('Submit')}</button>
                                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
